package comparatorTest;

public class Dog {

 

    private String name;

 

    private int weight;

 

    private int height;

 

    public Dog(String name, int weight, int height) {

       this.setName(name);

       this.weight = weight;

       this.height = height;

    }

 

    public int getHeight() {

       return height;

    }

 

    public void setHeight(int height) {

       this.height = height;

    }

 

    public int getWeight() {

       return weight;

    }

 

    public void setWeight(int weight) {

       this.weight = weight;

    }

 

    public void setName(String name) {

       this.name = name;

    }

 

    public String getName() {

       return name;

    }

}
